import './FillHeightTable.less'
import { v4 as uuidv4 } from 'uuid'
import SupperTable from '@/components/SupperTable/SupperTable'
import { Button } from 'antd'

const FillHeightTable = () => {
	const dataSource = [
		{
			key: '1',
			name: '胡彦斌',
			age: 32,
			address: '西湖区湖底公园1号',
		},
		{
			key: '2',
			name: '胡彦祖',
			age: 42,
			address: '西湖区湖底公园1号',
		},
		{
			key: '3',
			name: '刘彦祖',
			age: 18,
			address: '西湖区湖底公园1号',
		},
		{
			key: '4',
			name: '刘彦祖',
			age: 18,
			address: '翻斗大街翻斗花园二号楼1001室',
		},
		{
			key: uuidv4(),
			name: '刘彦祖',
			age: 18,
			address: '翻斗大街翻斗花园二号楼1001室',
		},
		{
			key: uuidv4(),
			name: '刘彦祖',
			age: 18,
			address: '翻斗大街翻斗花园二号楼1001室',
		},
		{
			key: uuidv4(),
			name: '刘彦祖',
			age: 18,
			address: '翻斗大街翻斗花园二号楼1001室',
		},
		{
			key: uuidv4(),
			name: '刘彦祖',
			age: 18,
			address: '翻斗大街翻斗花园二号楼1001室',
		},
		{
			key: uuidv4(),
			name: '刘彦祖',
			age: 18,
			address: '翻斗大街翻斗花园二号楼1001室',
		},
		{
			key: uuidv4(),
			name: '刘彦祖',
			age: 18,
			address: '翻斗大街翻斗花园二号楼1001室',
		},
		{
			key: uuidv4(),
			name: '刘彦祖',
			age: 18,
			address: '翻斗大街翻斗花园二号楼1001室',
		},
		{
			key: uuidv4(),
			name: '刘彦祖',
			age: 18,
			address: '翻斗大街翻斗花园二号楼1001室',
		},
		{
			key: uuidv4(),
			name: '刘彦祖',
			age: 18,
			address: '翻斗大街翻斗花园二号楼1001室',
		},
		{
			key: uuidv4(),
			name: '刘彦祖',
			age: 18,
			address: '翻斗大街翻斗花园二号楼1001室',
		},
		{
			key: uuidv4(),
			name: '刘彦祖',
			age: 18,
			address: '翻斗大街翻斗花园二号楼1001室',
		},
		{
			key: uuidv4(),
			name: '刘彦祖',
			age: 18,
			address: '翻斗大街翻斗花园二号楼1001室',
		},
		{
			key: uuidv4(),
			name: '刘彦祖',
			age: 18,
			address: '翻斗大街翻斗花园二号楼1001室',
		},
		{
			key: uuidv4(),
			name: '刘彦祖',
			age: 18,
			address: '翻斗大街翻斗花园二号楼1001室',
		},
		{
			key: uuidv4(),
			name: '刘彦祖',
			age: 18,
			address: '翻斗大街翻斗花园二号楼1001室',
		},
		{
			key: uuidv4(),
			name: '刘彦祖',
			age: 18,
			address: '翻斗大街翻斗花园二号楼1001室',
		},
		{
			key: uuidv4(),
			name: '刘彦祖',
			age: 18,
			address: '翻斗大街翻斗花园二号楼1001室',
		},
		{
			key: uuidv4(),
			name: '刘彦祖',
			age: 18,
			address: '翻斗大街翻斗花园二号楼1001室',
		},
		{
			key: uuidv4(),
			name: '刘彦祖',
			age: 18,
			address: '翻斗大街翻斗花园二号楼1001室',
		},
		{
			key: uuidv4(),
			name: '刘彦祖',
			age: 18,
			address: '翻斗大街翻斗花园二号楼1001室',
		},
		{
			key: uuidv4(),
			name: '刘彦祖',
			age: 18,
			address: '翻斗大街翻斗花园二号楼1001室',
		},
		{
			key: uuidv4(),
			name: '刘彦祖',
			age: 18,
			address: '翻斗大街翻斗花园二号楼1001室',
		},
		{
			key: uuidv4(),
			name: '刘彦祖',
			age: 18,
			address: '翻斗大街翻斗花园二号楼1001室',
		},
		{
			key: uuidv4(),
			name: '刘彦祖',
			age: 18,
			address: '翻斗大街翻斗花园二号楼1001室',
		},
		{
			key: uuidv4(),
			name: '刘彦祖',
			age: 18,
			address: '翻斗大街翻斗花园二号楼1001室',
		},
		{
			key: uuidv4(),
			name: '刘彦祖',
			age: 18,
			address: '翻斗大街翻斗花园二号楼1001室',
		},
		{
			key: uuidv4(),
			name: '刘彦祖',
			age: 18,
			address: '翻斗大街翻斗花园二号楼1001室',
		},
		{
			key: uuidv4(),
			name: '刘彦祖',
			age: 18,
			address: '翻斗大街翻斗花园二号楼1001室',
		},
		{
			key: uuidv4(),
			name: '刘彦祖',
			age: 18,
			address: '翻斗大街翻斗花园二号楼1001室',
		},
		{
			key: uuidv4(),
			name: '刘彦祖',
			age: 18,
			address: '翻斗大街翻斗花园二号楼1001室',
		},
		{
			key: uuidv4(),
			name: '刘彦祖',
			age: 18,
			address: '翻斗大街翻斗花园二号楼1001室',
		},
		{
			key: uuidv4(),
			name: '刘彦祖',
			age: 18,
			address: '翻斗大街翻斗花园二号楼1001室',
		},
		{
			key: uuidv4(),
			name: '刘彦祖',
			age: 18,
			address: '翻斗大街翻斗花园二号楼1001室',
		},
		{
			key: uuidv4(),
			name: '刘彦祖',
			age: 18,
			address: '翻斗大街翻斗花园二号楼1001室',
		},
		{
			key: uuidv4(),
			name: '刘彦祖',
			age: 18,
			address: '翻斗大街翻斗花园二号楼1001室',
		},
	]
	const columns: any[] = [
		{
			title: '姓名',
			dataIndex: 'name',
			key: 'name',
			align: 'center',
			width: 100,
		},
		{
			title: '年龄',
			dataIndex: 'age',
			key: 'age',
			align: 'center',
			width: 100,
		},
		{
			title: '住址',
			dataIndex: 'address',
			key: 'addressa',
			align: 'center',
			width: 100,
		},
		{
			title: '住址',
			dataIndex: 'address',
			key: 'address8',
			align: 'center',
			width: 100,
		},
		{
			title: '住址',
			dataIndex: 'address',
			key: 'address7',
			align: 'center',
			width: 100,
		},
		{
			title: '住址',
			dataIndex: 'address',
			key: 'address6',
			align: 'center',
			width: 100,
		},
		{
			title: '住址',
			dataIndex: 'address',
			key: 'address5',
			align: 'center',
			width: 100,
		},
		{
			title: '住址',
			dataIndex: 'address',
			key: 'address4',
			align: 'center',
			width: 100,
		},
		{
			title: '住址',
			dataIndex: 'address',
			key: 'address3',
			align: 'center',
			width: 100,
		},
		{
			title: '住址',
			dataIndex: 'address',
			key: 'address2',
			align: 'center',
			width: 100,
		},
		{
			title: '住址',
			dataIndex: 'address',
			key: 'address1',
			align: 'center',
			width: 200,
		},
	]
	return <SupperTable dataSource={dataSource} columns={columns} />
}
const k = () => {
	return <Button>sdfsdf</Button>
}
export default FillHeightTable
